import request from '@/utils/request'

// 封装搜索的请求接口
export const searchAPI = params => {
  return request({
    url: '/v1_0/search',
    params
  })
}

// 封装搜索建议的请求接口
export const suggestAPI = params => {
  return request({
    url: '/v1_0/suggestion',
    params
  })
}
